<!DOCTYPE html>
<html>
<head>
    <title> </title>
		<#include "/header.html">
</head>
<body>
<div id="webpage" v-cloak>
    <div v-show="appearance.showList">
        <div v-show="appearance.showControllBar" class="grid-btn">
            <span v-show="appearance.showSearchForm">
                <div class="form-group col-sm-2">
                    <input type="text" class="form-control" v-model="q._keyword" @keyup.enter="query" placeholder="昵称">
                </div>
                <a class="btn btn-default" @click="query">查询</a>
            </span>

			<#if shiro.hasPermission("base:idcardverifyhistory:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("base:idcardverifyhistory:update")>
            <a class="btn btn-primary" @click="update(null,$event)"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("base:idcardverifyhistory:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>
</div>
<script>
    set_grid_column_formatter('base/idcardverifyhistory/state',function (cellvalue, options, rowData) {
        if(cellvalue==1) return '<span class="label label-success">认证成功</span>'
        if(cellvalue==0) return '<span class="label label-danger">认证失败</span>';
    });
</script>
<script src="${request.contextPath}/statics/js/modules/base/idcardverifyhistory.js?_${.now?long}"></script>
</body>
</html>